import request from '@/utils/request'

export function multi(query, filterParam) {
  return request({
    url:
      '/report/multi?pageSize=' + query.pageSize + '&pageNum=' + query.pageNum,
    method: 'post',
    data: filterParam
  })
}

export function cost(query, filterParam) {
  return request({
    url:
      '/report/cost?pageSize=' + query.pageSize + '&pageNum=' + query.pageNum,
    method: 'post',
    data: filterParam
  })
}

export function gift(query, filterParam) {
  return request({
    url:
      '/report/gift?pageSize=' + query.pageSize + '&pageNum=' + query.pageNum,
    method: 'post',
    data: filterParam
  })
}

export function recharge(query, filterParam) {
  return request({
    url:
      '/report/recharge?pageSize=' +
      query.pageSize +
      '&pageNum=' +
      query.pageNum,
    method: 'post',
    data: filterParam
  })
}

export function receive(query, filterParam) {
  return request({
    url:
      '/report/receive?pageSize=' +
      query.pageSize +
      '&pageNum=' +
      query.pageNum,
    method: 'post',
    data: filterParam
  })
}
